package sk.mka.utils.maven;

import java.io.FileInputStream;
import java.io.IOException;
import java.util.Properties;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
 * 
 * @author katrami
 */
public class MavenConfig {

    private Properties enviroment;

    public MavenConfig(final String filename) {
        final Properties env = new Properties();
        try {
            env.load(new FileInputStream(filename));
            this.enviroment = env;
        } catch (IOException ex) {
            Logger.getLogger(MavenConfig.class.getName()).log(Level.SEVERE, null, ex);
        }
    }

    public Properties getEnviroment() {
        return enviroment;
    }
}
